﻿<controls:ChildWindow x:Class="WellDone.AddPaymentTypeDialog"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
          Width="248.872" Height="176.617" 
           Title="Add Payment Type">
    <Grid x:Name="LayoutRoot" Margin="2,2,2,17">
        <Grid.RowDefinitions>
            <RowDefinition Height="80" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <sdk:Label HorizontalAlignment="Left" Content="Key" Height="19" Margin="10,4,0,0" VerticalAlignment="Top" Width="42"/>
        <TextBox x:Name="tbPaymentTypeKey" HorizontalAlignment="Left" Margin="50,0,0,0" VerticalAlignment="Top" Width="130" MaxLength="3" KeyDown="tbPaymentTypeKey_KeyDown" />
        <sdk:Label HorizontalAlignment="Left" Content="Value" Height="19" Margin="10,35,0,0" VerticalAlignment="Top" Width="107"/>
        <TextBox x:Name="tbPaymentTypeValue" HorizontalAlignment="Left" VerticalContentAlignment="Top" Margin="50,35,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="130" VerticalScrollBarVisibility="Auto" MaxLength="50" />
        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" HorizontalAlignment="Right" Margin="0,10,0,0" Grid.Row="1" />
        <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" HorizontalAlignment="Right" Margin="0,10,79,0" Grid.Row="1" />
    </Grid>
</controls:ChildWindow>